


//持续收集formid ，用来推送
function dealFormIds(formId) {
	if (formId == '' || formId == 'undefined') {
		console.log('获取表单id为无效')
		return 0;
	}
	var data = {
		formid: formId, expiretime: parseInt(new Date().getTime() / 1000) + 604800 //计算7天后的过期时间时间戳  
	}
	var formIds = [];
	formIds.push(data);//将data添加到数组的末尾  
	//saveFormIds(formIds, url);
	formIds = JSON.stringify(formIds);
	var data = { formids: formIds};      //todo 向后端服务器传送表单id



} 

module.exports = {
	dealFormIds: dealFormIds,
}
